package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 支付记录表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PaymentRecords对象", description="支付记录表")
public class PaymentRecords implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "统一订单id")
    private Integer unionOrderId;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "支付应用的名称")
    private String clientName;

    @ApiModelProperty(value = "wechat  alipay   eth")
    private String payType;

    @ApiModelProperty(value = "miniapp小程序   web网页支付  ")
    private String paySubType;

    @ApiModelProperty(value = "订单号")
    private String outTradeNumber;

    @ApiModelProperty(value = "交易号")
    private String tradeNumber;

    @ApiModelProperty(value = "金额")
    private Integer money;

    @ApiModelProperty(value = "支付时间")
    private Date paidAt;

    @ApiModelProperty(value = "状态1为已支付")
    private Integer status;

    @ApiModelProperty(value = "options")
    private String options;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;


}
